package com.opNaga.bpmp.requirement;

import com.opNaga.bpmp.BPMPElement;
import com.opNaga.bpmp.BPMPElement;

import java.util.Collection;
import java.util.Iterator;

/**
 * User: Junyi BEI
 * Date: 01/02/2012
 * Time: 16:15
 */
public interface HasNetworkRequirement extends HasRequirement {
  public boolean addNetworkRequirement(BPMPElement bc);

  public boolean removeNetworkRequirement(BPMPElement bc);

  public Iterator<BPMPElement> iterateNetworkRequirements();

  public boolean filterAgainstNetworkRequirements(Collection<BPMPElement> bes);
}
